<style>
.tablebg_blue {
    background-color: #F2F7FD;
    border: 1px solid #D6E8FD;
}
table, tr, td {
    color: #3B454F;
    font: 11px Tahoma,Arial,Verdana;
}
.h_tdrow5 {
    background-color: #F6F8FB;
    color: #586776;
    font: bold 11px Tahoma,Arial;
    padding: 4px;
}
.fieldbutton {
    background: url("<?php echo $this->webroot;?>img/post/timnangcao.jpg") no-repeat scroll 0 0 transparent;
    border: 0 none;
    color: #485460;
    cursor: pointer;
    font: bold 11px Tahoma,Arial,Verdana;
    height: 32px;
    padding-bottom: 2px;
    width: 113px;
}
.contentbox {
    background-color: #FFFFFF;
    border: 1px solid #EDF1F8;
    padding: 10px;
}
.textrequired {
    color: #5A6978;
    font-family: Arial,Tahoma,Verdana;
    font-style: italic;
    margin: 3px;
    padding: 5px 0;
    text-align: right;
}
.textred {
    color: #FF0000;
}
.error{
	color: red;
}
</style>
<table width="100%" cellspacing="10" cellpadding="0" border="0" class="tablebg_blue"> 
		<tr> 
		<td align="center" class="contentbox"> 
				<form action="<?php echo $this->webroot;?>users/ads" method="POST" id="CONTACTFORM"> 
				<table width="100%" cellspacing="1" cellpadding="0" border="0"> 
					<tr> 
						<td align="left" colspan="2"> 
							<span class="textrequired">
								<span class="textred">(*)</span> Bắt buộc phải có thông tin
							</span>  
						</td> 
					</tr> 
					<tr> 
						<td width="25%" class="h_tdrow5">
							<span class="textred">*</span>&nbsp;Tên của bạn:
						</td> 
						<td class="h_tdrow6"> 
							<input type="text" value="" size="55" name="data[name]" class="required fieldtext"> 
						</td> 
					</tr> 
					<tr> 
						<td class="h_tdrow5">
							<span class="textred">*	</span>&nbsp;Email của bạn:
						</td> 
						<td class="h_tdrow6"> 
							<input type="text" value="" size="55" name="data[email]" class="required email fieldtext"> 
						</td> 
					</tr> 
					<tr> 
						<td class="h_tdrow5">Địa chỉ:</td> 
						<td class="h_tdrow6"> 
							<input type="text" value="" size="55" name="data[address]" class="fieldtext"> 
						</td> 
					</tr> 
					<tr> 
						<td class="h_tdrow5">Số điện thoại:	</td> 
						<td class="h_tdrow6"> 
							<input type="text" value="" size="25" name="data[phone]" class="fieldtext"> &nbsp;
							
						</td> 
					</tr> 
					<tr> 
						<td class="h_tdrow5">Số Fax:</td> 
						<td class="h_tdrow6"> 
							<input type="text" value="" size="25" name="data[fax]" class="fieldtext"> 
						</td> 
					</tr> 
					<tr> 
					</tr>
					<tr> 
						<td valign="top" class="h_tdrow5">
							<span class="textred">*</span>&nbsp;Nội dung liên hệ:
						</td> 
						<td class="h_tdrow6"> 
							<textarea rows="10" cols="55" name="data[content]" style="width: 372px; height: 160px;" class="required fieldtextbox"></textarea> 
						</td> 
					</tr>  
					<tr> 
						<td align="center" style="padding: 8px;" class="rv_tdrow2" colspan="2"> 
							<input type="submit" value="Gửi đi" name="submit" class="fieldbutton"> &nbsp; 
						</td> 
					</tr> 
					</table> 
			</form> 
			</td> 
	</tr> 
	</table>
<script>
$(document).ready(function(){
	$('#CONTACTFORM').validate();
});
</script>